<?php
class FriendLink{

    public static function getFriendLinks($connection){
        $friendlinks = $connection->createCommand("select * from rk_plug_friendlink order by seq desc")->queryAll();
        return $friendlinks;
    }

}